.image-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 152.6431718061674%;
    line-height: 0;
    --container-width: min(100vw, 908px);
}
.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.text-item {
    position: absolute;
    box-sizing: border-box;
    word-wrap: break-word;
    white-space: pre-wrap;
    pointer-events: none;
    text-align: left;
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}